export interface UserInfo {
  userId: string;
  token: string;
  realName: string;
  phone?: string;
  schoolId?: string;
  schoolName?: string;
  asSchoolManager?: boolean;
  asSuperManager?: boolean;
}
interface GlobalData {
  userInfo: UserInfo;
  setUserInfo: (userInfo: UserInfo) => void;
}

export default GlobalData;
